<div class="toolbar">
	<h1>菜品</h1>
	<a class="button back" onclick='javascript:{$P.callBack}()'>返回</a>
	<a class="button right" onclick='javascript:bill.updateFoodNumber({$T.id},0,{$P.callBack})'>取消该菜</a>
</div>
<div class="content">
	<form id="menuForm" name="menuForm" method="post">
		<ul class="rounded">
				<li>
					<div class="label">菜名</div>
					<div class="formtext">{$T.name}</div>
					<div class="clear"></div>
				</li>
				<li>
					<div class="label">单价</div>
					<div class="formtext">{$T.unitPrice}</div>
					<div class="clear"></div>
				</li>
				<li>
					<div class="label">单位</div>
					<div class="formtext">{$T.unit}</div>
					<div class="clear"></div>
				</li>
				<li>
					<div class="label">数量</div>
					<div class="field"><input type="number" name="count" {#if $T.count>0 }value="{$T.count}"{#/if} maxlength="10" autocapitalize="off"></div>
					<div class="clear"></div>
				</li>				
		</ul>
		<div style="text-align: center">
			<a href='javascript:bill.updateFoodNumber({$T.id},$("input[name=\"count\"]").val(),{$P.callBack})' class="button-green" style="width: 100px">确定</a>
		</div>
	</form>
</div>